<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/hdocs/style/css/seach.css" type="text/css" rel="stylesheet" />
<link href="/hdocs/style/css/common.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/hdocs/jquery/js/jquery-1.8.2.js"></script>
<script language="javascript">
	function search(){
		$("#searchForm").submit();
	}
</script>
<title>瓜朋网-搜索</title>
</head>
<body>
      #set ($menuIndex="index") #parse("/inc/header.html")
      <div class="seachCov">
            <div class="seachBox">
            	<form id="searchForm" action="/search/articles.jsp">
            		<input id="searchValue" type="text" name="searchValue" class="seAinta" value="$!searchValue"/>
                  	<a href="javascript:search();" class="seABtn"><img src="/hdocs/style/img/seachxBtx.jpg"/></a>
            	</form>
            </div>
      </div>
      <p class="h10"></p>
      <p class="h10"></p>
      <p class="h10"></p>
      <div class="centent">
          <p class="cenTab cenTabx">
                <a href="/search/articles.jsp" class="mesav">文章</a>
                <a href="/search/questions.jsp" class="mesb">问题</a>
                <a href="/search/users.jsp" class="mesd">用户</a>
          </p>
          #foreach( $article in $articles)
          <div class="tadaysb">
                <div class="tadLe">
                      <div class="addGz"><a href="#" class="addGzb">$!article.title</a></div>
                      <p class="tdlTime"><a href="/user/index.jsp?accountid=$!article.accountid">$!article.username</a> 发表于 $!article.publishdate</p>
                      <p class="tdlTex">
                            $!article.introduction<a href="/topic/article.jsp?id=$!article.id">（查看全文）</a> 
                      </p>
                      <p class="h10"></p>
                      <p class="tdlBtn">
                            <a href="/topic/article.jsp?id=$!article.id" class="tdMa"><span class="sptx">答案</span> <span class="spty">$!article.views</span></a>
                            <a href="/topic/article.jsp?id=$!article.id" class="tdMa noLin"><span class="sptx">关注</span><span class="spty">$!article.comments</span></a>
                      </p>
                </div>
          </div>
          #end
          <p class="h10"></p>
          <p class="h10"></p>
          <p class="h10"></p>
          <p class="h10"></p>
          #set ($requestURL="/search/articles.jsp?searchValue=$!searchValue")
          #parse("/inc/pageControl.html")
          <p class="h10"></p>
          <p class="h10"></p>
          <p class="h10"></p>
      </div>
      #parse("/inc/footer.html")
</body>
</html>
